package com.wyp.dao;

import com.wyp.entity.MSOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface MSOrderMapper {
    int deleteByPrimaryKey(Long id);

    int insert(MSOrder record);

    int insertSelective(MSOrder record);

    MSOrder selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MSOrder record);

    int updateByPrimaryKey(MSOrder record);

    MSOrder getMSOrderByUserIdAndGoodsId(@Param("userId") Long userId, @Param("goodsId") Long goodsId);
}